﻿
using System.Collections.Generic;
using SIG.Model;
using SIG.Model.Announcements;

namespace SIG.Service
{
    public interface IAnnouncementService : IEntityService<Announcement>
    {
        IEnumerable<Announcement> GetActiveAnnouncements();
        List<Announcement> GetPagedActiveElements(int pageIndex, int pageSize, string keyword, out int totalCount);
        List<Announcement> GetPagedElements(int pageIndex, int pageSize, string keyword, out int totalCount);
        IEnumerable<Announcement> LatesterAnnouncements(int count);
    }
}
